.lotteryColorHeader {
  width: 100%;
  height: 64px;
  background: #262732;
  //border: 1px solid #EEEEEE;
  box-shadow: 0 0 1px 0 rgba(40, 131, 180, 0.15);
  //box-shadow: 0 4px 10px 0 rgba(40, 131, 180, 0.15);
  overflow: visible;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  .headerLogo {
    width: 188px;
    height: 62px;
    padding: 11px 5px;
    text-align: center;
    img {
      width: auto;
      height: 40px;
    }
  }
  .arrowDown {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    height: 14px;
    transition: all .3s;
    &.upArrow {
      transform: translateY(-50%) rotate(180deg);
    }
  }
}

.lotteryColorLine {
  height: 64px;
  overflow: visible;
  background: #262732;
  .lotteryListData {
    width: 100%;
    //height: auto!important;
    max-height: 500px;
    overflow-y: scroll;
    padding: 30px 30px 30px 35px;
    background: #1A1B22;
    position: absolute;
    left: 0;
    top: 64px;
    display: none;
    .lotteryNavList {
      width: 100%;
      justify-content: flex-start;
      flex-wrap: wrap;
    }
    .lotteryFirstNav{
      width: 31%;
      padding-left: 95px;
      min-height: 66px;
      margin-top: 20px;
      //margin-left:38px;
      .lotteryLogo{
        width: 66px;
        height: 66px;
        position: absolute;
        left: 0;
        top: 0;
        img {
          width: 66px;
          height:auto;
        }
      }
      .lotteryBox{
        width: 100%;
        .lotterySecondNav{
          width: 46%;
          max-width: 120px;
          min-width: 90px;
          height: 32px;
          background: #262732;
          border-radius: 1px;
          font-family: MicrosoftYaHei;
          font-size: 14px;
          color: #FFFFFF;
          text-align: center;
          line-height: 32px;
          margin-right: 10px;
          margin-bottom: 8px;
          &:nth-child(2n){
            margin-right: 0;
          }
          //&:first-child,&:nth-child(2){
          //  margin-top: 0;
          //}
          &.on,&:hover{
            background: #D43B3B;
          }
        }
      }
      &:nth-child(3n+2){
        margin: 0 3.5%;
        margin-top:20px;
      }
      &:first-child,&:nth-child(2),&:nth-child(3){
        margin-top: 0;
      }
    }
    &:hover{
      display: block;
    }
    .recreationLot{
      .recrLotItem{
        height: 86px;
        margin-right:10px;
        img{
          height: 100%;
          width: auto;
        }
      }
    }
  }

}

.lotUserMidIn {
  height: 62px;
  overflow: visible;
}

.lotteryHeaderRight {
  flex: 1;
  overflow: visible;
  padding-left: 30px;
  .otherFunction {
    flex: 1;
    padding: 0 10px;
    height: 64px;
    .otherFunctionItem {
      min-width: 70px;
      max-width:100px;
      height: 64px;
      flex: 1;
      a {
        display: block;
        font-family: '微软雅黑';
        font-size: 14px;
        color: #fff;
        text-align: center;
        line-height: 62px;
        &.hasArrow{
          padding-right: 15px;
        }
      }
      &.on {
        background: rgba(0, 0, 0, 0.30);
        box-shadow: inset 0 3px 0 0 #E0262B;
      }
      &:hover {
        background: rgba(0, 0, 0, 0.30);
        box-shadow: inset 0 3px 0 0 #E0262B;
      }
    }
  }
  .userInfoBox {
    //flex: 1;
    justify-content: flex-end;
    overflow: visible;
    .userInfo {
      margin-top: 4px;
      margin-right: 5px;
      overflow: visible;
      .userNameHead{
        height: 40px;
        margin-top: 8px;
        font-size: 14px;
        color: #fff;
        line-height: 40px;
        margin-right:20px;
        font-weight: 600;
      }
    }
    .userInfoTitle {
      height: 40px;
      padding: 0 36px 0 20px;
      background: #000;
      //border: 1px solid #CCCCCC;
      font-family: '微软雅黑';
      font-size: 14px;
      color: #fff;
      line-height: 38px;
      cursor: pointer;
      margin-top: 8px;
      a {
        color: #fff;
      }
      .arrowDown {
        right: 14px;
        font-size: 22px;
        height: 20px;
      }
      &.on {
        border: none;
        box-shadow: 0 0 6px 0 rgba(59, 64, 89, 0.10), 0 0 21px 0 rgba(71, 78, 112, 0.15);
        overflow: visible;
        &::after {
          content: '';
          position: absolute;
          left: 0;
          bottom: -5px;
          background-color: #000;
          display: inline-block;
          width: 100%;
          height: 18px;
          z-index: 10;
        }
      }
    }
    .userInfoContent {
      display: none;
      box-shadow: 0 0 6px 0 rgba(59, 64, 89, 0.10), 0 0 21px 0 rgba(71, 78, 112, 0.15);
      width: 260px;
      position: absolute;
      right: 0;
      top: 40px;
      background-color: #000;
      z-index: 9;
      padding: 16px 12px;
      .userMessage {
        padding: 1px 1px 14px;
        border-bottom: 1px solid #39405F;
      }
      .userHead {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        box-shadow: 0 0 2px 0 rgba(61, 141, 207, 0.20);
        img {
          width: 38px;
          height: 38px;
          display: inline-block;
        }
      }
      .userContent {
        margin-left: 10px;
        p {
          font-family: '微软雅黑';
          font-size: 14px;
          color: #fff;
          line-height: 20px;
          &:last-child {
            font-size: 12px;
            color: #aaa;
            .signOut {
              color: #D43B3B;
              margin-left: 16px;
              text-decoration: underline;
            }
          }
        }
      }
      .userAmount {
        margin: 18px 0 10px 0;
        p {
          float: left;
          font-family: '微软雅黑';
          font-size: 14px;
          color: #fff;
          line-height: 14px;
          &:last-of-type {
            float: right;
            margin-right: 1px;
            color: #D43B3B;
            font-family: Arial;
            font-weight: bold;
          }
        }
      }
      .linkItem {
        font-family: '微软雅黑';
        font-size: 14px;
        color: #fff;
        line-height: 40px;
        p {
          float: left;
          &:last-child {
            float: right;
            color: #FFDC99;
            overflow: visible;
            padding-right: 20px;
            margin-right: 1px;
            cursor: pointer;
            .rightArrow {
              font-size: 22px;
              //width: 16px;
              height: 20px;
              position: absolute;
              right: 0;
              top: 50%;
              transform: translateY(-50%);
              color: #fff;
            }
          }
        }

      }
    }
  }
}

/*登录注册*/
.userLogin {
  section {
    display: inline-table;
    height: 40px;
    line-height: 40px;
    //border: 1px solid rgba(255,255,255,0.15);
    margin-left: 10px;
    padding: 8px 0;
    a {
      font-size: 14px;
      color: #fff;
      display: block;
      padding: 0 20px;
      background: #000000;
    }
  }
}
